package com.bosicloud.cmb.ibp.api.manager.commom.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SubscribeApiParamVO {

    /**
     * apiId
     */
    @NotNull
    @NotBlank(message = "apiId 不能为空")
    String apiId;
    /**
     * userId
     */
    @NotNull
    @NotBlank(message = "userId 不能为空")
    String userId;

    String keyId;

    String usagePlanId;

}
